<?php
// No direct access to this file
defined('_JEXEC') or die;
 
// import the list field type
jimport('joomla.html.html');
jimport('joomla.form.formfield');
jimport('joomla.form.helper');
JFormHelper::loadFieldClass('list');
 
/**
 * NGMenu Form Field class for the NGMenu component
 */
class JFormFieldTransitionValues extends JFormFieldList
{
	/**
	 * The field type.
	 *
	 * @var		string
	 */
	protected $type = 'TransitionValues';
 
//	public function getLabel() {
//	}
 
	public function getInput() {
		$values = array(
			JHtml::_('select.option', '0', '0 Box in' ),
			JHtml::_('select.option', '1', '1 Box out' ),
			JHtml::_('select.option', '2', '2 Circle in' ),
			JHtml::_('select.option', '3', '3 Circle out' ),
			JHtml::_('select.option', '4', '4 Wipe up' ),
			JHtml::_('select.option', '5', '5 Wipe down' ),
			JHtml::_('select.option', '6', '6 Wipe right' ),
			JHtml::_('select.option', '7', '7 Wipe left' ),
			JHtml::_('select.option', '8', '8 Vertical blinds' ),
			JHtml::_('select.option', '9', '9 Horizontal blinds' ),
			JHtml::_('select.option', '10', '10 Checkerboard across' ),
			JHtml::_('select.option', '11', '11 Checkerboard down' ),
			JHtml::_('select.option', '12', '12 Random dissolve' ),
			JHtml::_('select.option', '13', '13 Split vertical in' ),
			JHtml::_('select.option', '14', '14 Split vertical out' ),
			JHtml::_('select.option', '15', '15 Split horizontal in' ),
			JHtml::_('select.option', '16', '16 Split horizontal out' ),
			JHtml::_('select.option', '17', '17 Strips left down' ),
			JHtml::_('select.option', '18', '18 Strips left up' ),
			JHtml::_('select.option', '19', '19 Strips right down' ),
			JHtml::_('select.option', '20', '20 Strips right up' ),
			JHtml::_('select.option', '21', '21 Random bars horizontal' ),
			JHtml::_('select.option', '22', '22 Random bars vertical' ),
			JHtml::_('select.option', '23', '23 Random' ),
			JHtml::_('select.option', '24', '24 Alpha blend' ),
		);

		return JHtml::_('select.genericlist', $values, $this->name, null, 'value', 'text', $this->value);
	}
}
